PER.rover.control
Class Datapack

java.lang.Object
  extended byPER.rover.control.Datapack

public class Datapack
extends java.lang.Object

Contains the class for storing the buffer received and it's sequence number (which allows for keeping track of which packet goes with which thread).


Constructor Summary
Datapack(byte[] buffer, int seqNum)
           
 
Method Summary
 byte[] getData()
           
 int getLength()
           
 int getSequenceNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Datapack

public Datapack(byte[] buffer,
                int seqNum)
Method Detail

getData

public byte[] getData()

getLength

public int getLength()

getSequenceNumber

public int getSequenceNumber()